<template>
	<view class="payment">
		<view class="header">
			<image @click="goBackFn()" src="../../static/Icon_Arrow.png" mode=""></image>
			<text>确认订单</text>
		</view>
		<view class="informationBox">
			<view class="information">
				<view class="icon01">
					<image src="../../static/Frame 15.png" mode=""></image>
				</view>
				<view class="textBox">
					<h4>温泉大道东999号</h4>
					<text>杨女士</text>
					<text>15862453621</text>
				</view>
				<view class="go">
					<image src="../../static/Icon_Arrow (1).png" mode=""></image>
				</view>
			</view>
			<view class="addressBox">
				<view class="icon02">
					<image src="../../static/add.png" mode=""></image>
				</view>
				<view class="addressText">
					<text>支持选择多个收货地址</text>
				</view>
				<view class="modify">
					<text>去修改</text>
					<image src="../../static/Icon_Arrow (1).png" mode=""></image>
				</view>
			</view>
		</view>
		<view class="goodsBox">
			<ul>
				<li>
					<h4>JUDYDOLL橘朵旗舰店</h4>
					<view class="content">
						<view class="left">
							<image src="../../static/goods02.jpg" mode=""></image>
						</view>
						<view class="right">
							<view class="introduce">
								<text>橘朵水光唇青口红显白保湿</text>
								<view class="money">
									<text class="momeyIcon">¥</text>
									<text>69.8</text>
								</view>
							</view>
							<view class="style">
								<text>颜色分类：</text>
								<text>#09 赤玉辉 HOT</text>
							</view>
							<view class="benefit">
								<view class="benefit01">
									过敏包退
								</view>
								<view class="benefit01">
									假一赔四
								</view>
								<view class="benefit01">
									可享先用后付
								</view>
							</view>
						</view>
					</view>
					<view class="number">
						<uni-number-box class="numbox" :value="1" :min="1" background="#f8f8f8" color="#000" />
					</view>
					<view class="delivery">
						<view class="left">
							配送服务
						</view>
						<view class="middle">
							<view class="text">
								快递 包邮 退货宝
							</view>
							<view class="promise">
								承诺48小时内发货，晚发必赔，预计后天送达
							</view>
							
						</view>
						<view class="right">
							<view class="go">
								<image src="../../static/Icon_Arrow (1).png" mode=""></image>
							</view>
						</view>
					</view>
					<view class="invoice">
						<view class="left">
							开具发票
						</view>
						<view class="middle">
							<view class="text">
								本次不开具发票
							</view>
						</view>
						<view class="right">
							<view class="go">
								<image src="../../static/Icon_Arrow (1).png" mode=""></image>
							</view>
						</view>
					</view>
					<view class="remarks">
						<view class="left">
							订单备注
						</view>
						<view class="middle">
							<view class="text">
								无备注
							</view>
						</view>
						<view class="right">
							<view class="go">
								<image src="../../static/Icon_Arrow (1).png" mode=""></image>
							</view>
						</view>
					</view>
				</li>
				<li>
					<h4>Joocyee酵色旗舰店</h4>
					<view class="content">
						<view class="left">
							<image src="../../static/kouhong03.jpg" mode=""></image>
						</view>
						<view class="right">
							<view class="introduce">
								<text>酵色多用霜唇颊面颊多用唇</text>
								<view class="money">
									<text class="momeyIcon">¥</text>
									<text>79.8</text>
								</view>
							</view>
							<view class="style">
								<text>颜色分类：</text>
								<text>C06 肉桂茶 HOT</text>
							</view>
							<view class="benefit">
								<view class="benefit01">
									过敏包退
								</view>
								<view class="benefit01">
									假一赔四
								</view>
								<view class="benefit01">
									可享先用后付
								</view>
							</view>
						</view>
					</view>
					<view class="number">
						<uni-number-box class="numbox" :value="1" :min="1" background="#f8f8f8" color="#000" />
					</view>
					<view class="delivery">
						<view class="left">
							配送服务
						</view>
						<view class="middle">
							<view class="text">
								快递 包邮 退货宝
							</view>
							<view class="promise">
								承诺48小时内发货，晚发必赔，预计后天送达
							</view>
							
						</view>
						<view class="right">
							<view class="go">
								<image src="../../static/Icon_Arrow (1).png" mode=""></image>
							</view>
						</view>
					</view>
					<view class="invoice">
						<view class="left">
							开具发票
						</view>
						<view class="middle">
							<view class="text">
								本次不开具发票
							</view>
						</view>
						<view class="right">
							<view class="go">
								<image src="../../static/Icon_Arrow (1).png" mode=""></image>
							</view>
						</view>
					</view>
					<view class="remarks">
						<view class="left">
							订单备注
						</view>
						<view class="middle">
							<view class="text">
								无备注
							</view>
						</view>
						<view class="right">
							<view class="go">
								<image src="../../static/Icon_Arrow (1).png" mode=""></image>
							</view>
						</view>
					</view>
				</li>
			</ul>
			<ol>
				<li>
					<view class="left">
						<image src="../../static/pay01.png" mode=""></image>
					</view>
					<view class="middle">
						<view class="type">
							<text>先用后付</text>
						</view>
						<text>0元下单，确认收货再付款</text>
					</view>
					<view class="right">
						<image src="../../static/round.png" mode=""></image>
					</view>
				</li>
				<li>
					<view class="left">
						<image src="../../static/pay02.png" mode=""></image>
					</view>
					<view class="middle">
						<view class="type type02">
							<text>支付宝</text>
						</view>
					</view>
					<view class="right">
						<image src="../../static/round.png" mode=""></image>
					</view>
				</li>
				<li>
					<view class="left">
						<image src="../../static/pay03.png" mode=""></image>
					</view>
					<view class="middle">
						<view class="type type02">
							<text>微信</text>
						</view>
					</view>
					<view class="right">
						<image src="../../static/round.png" mode=""></image>
					</view>
				</li>
			</ol>
		</view>
		<view class="footer">
			<view class="left">
				<view class="goodsNum">
					<text>共</text>
					<text>2</text>
					<text>件</text>
				</view>
				<view class="totalMoney">
					<text>合计:</text>
					<text>¥</text>
					<text>149.6</text>
				</view>
			</view>
			<view class="right">
				<button>提交订单</button>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods:{
			goBackFn(){
				uni.switchTab({
					url:'/pages/cart/cart'
				})
			}
		}
	}
</script>

<style lang="less" scoped>
	.payment {
		width: 100%;
		height: 100%;
		overflow: hidden;
		background-color: #f2f2f2;

		.header {
			width: 100%;
			height: 60px;
			position: fixed;
			left: 0;
			top: 0;
			z-index: 100;
			background-color: #ecb7bb;

			image {
				width: 30px;
				height: 30px;
				margin-top: 16px;
				margin-left: 4px;
			}

			text {
				display: block;
				font-size: 18px;
				margin-left: 152px;
				margin-top: -30px;
				// background-color: palegoldenrod;
			}
		}

		.informationBox {
			width: 97%;
			height: 100px;
			margin: 0 auto;
			margin-top: 72px;
			border-radius: 15px;
			background-color: #fff;
			padding: 6px 0;

			.information {
				width: 96%;
				height: 60px;
				margin: 0px auto;
				display: flex;
				align-items: end;

				.icon01 {
					width: 38px;
					height: 36px;
					margin-top: 10px;

					image {
						width: 100%;
						height: 100%;
					}

				}

				.textBox {
					width: calc(100% - 60px);
					height: 70%;
					margin-top: 10px;
					// background-color: paleturquoise;

					h4 {
						letter-spacing: 1px;
						font-family: 黑体;
					}

					text {
						font-size: 13px;
						color: #6e6c6d;
					}

					text:nth-child(3) {
						margin-left: 4px;
					}
				}

				.go {
					width: 20px;
					height: 20px;
					margin-top: 22px;

					image {
						width: 100%;
						height: 100%;
					}
				}
			}

			.addressBox {
				width: 96%;
				height: 36px;
				margin: 0 auto;
				display: flex;
				justify-content: space-between;
				padding-top: 6px;

				.icon02 {
					width: 28px;
					height: 28px;
					margin-left: 6px;

					image {
						width: 100%;
						height: 100%;
					}
				}

				.addressText {
					width: calc(100% - 110px);
					height: 60%;
					margin-top: 3px;
					font-weight: 600;
					margin-left: 4px;

					text {
						font-size: 15px;
					}
				}

				.modify {
					width: 70px;
					margin-top: 3px;
					position: relative;

					text {
						font-size: 15px;
						font-weight: 600;
					}

					image {
						width: 20px;
						height: 20px;
						position: absolute;
						right: 1px;
						top: 1px;
					}
				}
			}

		}

		.goodsBox {
			width: 97%;
			margin: 0 auto;
			// background-color: palegoldenrod;

			ul {
				width: 100%;
				list-style: none;
				margin: 0;
				padding: 0;
				margin-top: 10px;

				li {
					padding: 10px;
					border-radius: 10px;
					background-color: white;
					margin-bottom: 10px;

					.content {
						width: 100%;
						height: 88px;
						margin-top: 10px;
						display: flex;
						justify-content: space-between;

						.left {
							width: 86px;
							height: 100%;

							image {
								width: 100%;
								height: 100%;
								border-radius: 8px;
							}
						}

						.right {
							width: calc(100% - 94PX);
							height: 100%;
							// background-color: palegoldenrod;

							.introduce {
								width: 100%;
								display: flex;
								justify-content: space-between;
								font-size: 14px;

								.momeyIcon {
									font-weight: 600;
								}

								text:nth-child(2) {
									font-weight: 600;
								}
							}

							.style {
								margin-top: 4px;
								width: 60%;
								font-size: 14px;
								color: #9e9e9f;
								// background-color: palegreen;
							}

							.benefit {
								width: 100%;
								display: flex;
								font-size: 12px;
								margin-top: 4px;
								color: #cfb56a;

								.benefit01 {
									padding: 1px 2px;
									border: 1px solid #cfb56a;
									margin-right: 4px;
								}
							}


						}
					}

					.number {
						width: 100%;
						margin-top: 5px;
						// background-color: palegreen;

						.numbox {
							margin-left: 260px;
						}
					}

					.delivery {
						display: flex;
						margin-top: 12px;
						justify-content: space-between;

						.left {
							width: 70px;
							height: 20px;
							margin-top: 9px;
							// background-color: palegoldenrod;
						}

						.middle {
							width: calc(100% - 84px);
							font-size: 15px;
							color: #6e6c6d;

							.text {
								text-align: end;
								// background-color: bisque;
							}

							.promise {
								margin-top: 4px;
								margin-left: 16px;
								// background-color: palegreen;
								text-align: end;
								width: 245px;
								white-space: nowrap;
								overflow: hidden;
								text-overflow: ellipsis;
							}
							
						}
						
						.right {
							width: 18px;
							.go {
								width: 18px;
								height: 18px;
								margin-top: 16px;
							
								image {
									width: 100%;
									height: 100%;
								}
							}
						}
					}
					
					.invoice {
						display: flex;
						margin-top: 14px;
						justify-content: space-between;
						
						.left {
							width: 70px;
							height: 20px;
						}
						
						.middle {
							width: calc(100% - 84px);
							font-size: 15px;
							color: #6e6c6d;
							margin-top: 2px;
						
							.text {
								text-align: end;
							}										
						}
						
						.right {
							width: 18px;
							.go {
								width: 18px;
								height: 18px;
								margin-top: 3px;
							
								image {
									width: 100%;
									height: 100%;
								}
							}
						}
					}
					
					.remarks {
						display: flex;
						margin-top: 14px;
						justify-content: space-between;
						
						.left {
							width: 70px;
							height: 20px;
						}
						
						.middle {
							width: calc(100% - 84px);
							font-size: 15px;
							color: #6e6c6d;
							margin-top: 2px;
						
							.text {
								text-align: end;
							}										
						}
						
						.right {
							width: 18px;
							.go {
								width: 18px;
								height: 18px;
								margin-top: 3px;
							
								image {
									width: 100%;
									height: 100%;
								}
							}
						}
					}
				}
			}
			
			ol {
				width: 100%;
				list-style: none;
				margin: 0;
				padding: 0;
				margin-top: 10px;
				border-radius: 10px;
				background-color: white;
				margin-bottom: 80px;
				
				li{
					width: 100%;
					height: 50px;
					display: flex;
					
					.left {
						width: 50px;
						height: 100%;
						// background-color: palegoldenrod;
						
						image {
							width: 30px;
							height: 30px;
							margin: 10px 10px;
						}
					}
					
					.middle {
						width: calc(100% - 100px);
						height: 100%;
						// background-color: palegreen;
						color: #6e6c6d;
						font-size: 13px;
						
						.type {
							font-size: 15px;
							color: #000;
							font-weight: 600;
							font-family: 中华正文;
							margin-top: 6px;
							margin-bottom: 2px;
						}
						
						.type02 {
							margin-top: 14px;
						}
					}
					
					.right {
						width: 50px;
						height: 100%;
						// background-color: paleturquoise;
						
						image {
							width: 23px;
							height: 23px;
							margin: 14px 14px;
						}
					}
				}
			}
		}

		.footer {
			width: 100%;
			height: 60px;
			position: fixed;
			left: 0;
			bottom: 0;
			background-color: white;
			display: flex;
			justify-content: space-between;
			align-items: center;
			
			.left{
				width: 258px;
				height: 100%;
				display: flex;
				justify-content: flex-end;
				align-items: center;
				// background-color: palegoldenrod;
				
				.goodsNum {
					font-size: 15px;
					color: #6e6c6d;
					margin-top: 2px;
				}
				
				.totalMoney {
					margin-left: 6px;
					font-size: 15px;
					
					text:nth-child(2){
						color: #f57a73;
						font-weight: 600;
					}
					text:nth-child(3){
						color: #f57a73;
						font-size: 20px;
						font-family: 楷体;
						font-weight: 600;
					}
				}
			}
			
			.right {
				width: 100px;
				margin-right: 8px;
				background-color: palegreen;
				
				button{
					width: 100px;
					font-size: 16px;
					background-color: #ecb7bb;
				}
			}
		}
	}
</style>